import Vue from 'vue'
import App from './App'
import router from './router'

import { Base64 } from 'js-base64'
Vue.prototype.$Base64 = Base64;

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI);

import '@/styles/index.scss'

import animated from 'animate.css'
Vue.use(animated)

import axios from 'axios'
Vue.prototype.$axios = axios;

import vuex from 'vuex'
Vue.config.productionTip = false
Vue.use(vuex)

import api from '@/api/api.js'
Vue.prototype.$api = api;

import store from './store'

import './permission'

new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})



